﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="Enterprise.UI.Web.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Styles/css/calendar.css" type="text/css" rel="Stylesheet" />
    <script type="text/javascript" src="/FCF/FusionCharts.js"></script>
    <script type="text/javascript" src="/Scripts/indexChart.js"></script>
    <script type="text/javascript" src="Scripts/scroll.js"></script>
    <script type="text/javascript">
        $(function ($) {
            $.ajaxSetup({ cache: false });
            loadindexchart(); //产量曲线   

            $.ajax({
                type: "post",
                url: "/Modules/Article/Article.ashx?Id=28",
                datatype: "text",
                async: true,
                success: function (result) {
                    setTimeout($("#dAnnounce").html(result), 5000);
                }
            });
            $.ajax({
                type: "post",
                url: "/Modules/Notice/Notice.ashx",
                datatype: "text",
                async: true,
                success: function (result) {
                    $("#dNotice").html(result);
                }
            });
            wti();
            walmt();
        });
    </script>
    <script language="javascript" type="text/javascript" src="/Manage/Common/js/lhgdialog/lhgdialog.min.js?skin=discuz"></script>
    <script type="text/javascript">
        //第二种普通函数式调用
        function opdg(stitle, surl) {
            $.dialog({ content: 'url:' + surl, cancelBtn: false, title: stitle, width: 650, height: 340, lock: true });
        }
        function wti() {
            $("#oil").empty();
            $("#oil").append("<iframe src=\"Modules/Oil/js.htm\" frameborder=\"0\" width=\"230px\" height=\"220px\" scrolling=\"no\"></iframe>");
        }
        function brent() {
            $("#oil").empty();
            $("#oil").append("<iframe src=\"Modules/Oil/js2.htm\" frameborder=\"0\" width=\"230px\" height=\"220px\" scrolling=\"no\"></iframe>");
        }
        function walmt() {
            $("#weather").empty();
            $("#weather").append("<iframe src=\"Modules/Weather/js.htm\" frameborder=\"0\" width=\"230px\" height=\"220px\" scrolling=\"no\"></iframe>");
        }
        function watl() {
            $("#weather").empty();
            $("#weather").append("<iframe src=\"Modules/Weather/js1.htm\" frameborder=\"0\" width=\"230px\" height=\"220px\" scrolling=\"no\"></iframe>");
        }
        function wakjb() {
            $("#weather").empty();
            $("#weather").append("<iframe src=\"Modules/Weather/js2.htm\" frameborder=\"0\" width=\"230px\" height=\"220px\" scrolling=\"no\"></iframe>");
        }
    </script>
    <style type="text/css">
        #scrollDiv{width:160px;height:25px;line-height:38px;border:#ccc 0px none;overflow:hidden; float:left;}
        #scrollDiv li{padding-left:5px; color:Red;}
    </style>
  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first"><a href="index.aspx">首页</a> </li>
                <li class="last">
                    <div id="scrollDiv">
                        <ul>
                            <%=GetBirthday() %>
                        </ul>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="indexl_wrapper">
        <div style="background-image: url(Styles/_img/area_lefttitle.jpg); width: 260px;
            height: 53px;">
            <span class="picText">快捷方式</span>
        </div>
        <div class="leftborder">
            <a href="rtx.rar" target="_blank">
                <img src="styles/_img/curriculummap.jpg" alt="" /></a>
            <div class="linkswrapper">
                <div style="text-align: left; float: left; width: 230px; height: 30px">
                </div>
                <div class="leftlinks">
                    <a href="Contract.aspx">通讯录</a>
                </div>
                <div class="leftlinks">
                    <a href="Modules/EntDisk/Index.aspx">存储空间</a>
                </div>
                <div class="leftlinks">
                    <a href="Modules/Notice/Index.aspx">个人备忘</a>
                </div>
                <div class="leftlinks">
                    <a href="Modules/Manager/Index.aspx">领导信箱</a>
                </div>
                <div class="leftlinks">
                    <a href="Modules/BusiTravel/Index.aspx">出差事务</a>
                </div>
                <div class="leftlinks">
                    <a href="Modules/Meeting/Index.aspx">会议事务</a>
                </div>
            </div>
        </div>
        <img src="styles/_img/area_leftbottom.jpg" width="260" height="22" />
        <div class="qlinkswrapper">
            <div style="background-image: url(Styles/_img/area_lefttitle.jpg); width: 260px;
                height: 53px;">
                <span class="picText">国际油价 >> <a onclick="wti();" style="cursor: pointer;">WTI</a> |
                    <a onclick="brent();" style="cursor: pointer;">Brent</a> </span>
            </div>
            <div class="leftborder">
                <div class="linkswrapper" id="oil">
                </div>
            </div>
        </div>
        <img src="styles/_img/area_leftbottom.jpg" width="260" height="22" alt="" />
        <div class="qlinkswrapper">
            <div style="background-image: url(Styles/_img/area_lefttitle.jpg); width: 260px;
                height: 53px;">
                <span class="picText">天气情况 >><span style="font-size:12px;"><a onclick="walmt();" style="cursor: pointer;">Almaty</a>|<a onclick="watl();" style="cursor: pointer;">Atirau</a>|<a onclick="wakjb();" style="cursor: pointer;">Aqtobe</a></span></span>
            </div>
            <div class="leftborder">
                <div class="linkswrapper" id="weather">
                </div>
            </div>
        </div>
        <img src="styles/_img/area_leftbottom.jpg" width="260" height="22" alt="" />
        <div class="qlinkswrapper">
            <div style="background-image: url(Styles/_img/area_lefttitle.jpg); width: 260px;
                height: 53px;">
                <span class="picText">个人备忘</span>
            </div>
            <div class="leftborder">
                <div class="linkswrapper" id="dNotice">
                </div>
            </div>
            <img src="styles/_img/area_leftbottom.jpg" width="260" height="22" />
        </div>
    </div>
    <div class="indexr_wrapper">
        <div style="background-image: url(Styles/_img/area_righttitle.jpg); width: 599px;
            height: 53px;">
            <span class="picText">通知公告</span>
        </div>
        <div class="rightborder">
            <div class="linkswrapper" id="dAnnounce">
                <div><img src="Styles/images/loading_16x16.gif" alt="" title="" /></div>
            </div>
        </div>
        <img src="styles/_img/area_rightbottom.jpg" width="599" height="22" alt="" />
    </div>
    <div class="indexr_wrapper">
        <div style="background-image: url(Styles/_img/area_righttitle.jpg); width: 599px;
            height: 53px;">
            <span class="picText"><a onclick="loadindexchart();" style="cursor: pointer;">开发生产</a></span><span
                class="picText"><a onclick="loadindexchart2();" style="cursor: pointer;">钻井工程</a></span>
        </div>
        <div class="rightborder">
            <div class="linkswrapper">
                <%--2个月前的那年曲线--%>
                <%=Enterprise.Service.Kaifabu.ChanliangService.ChanLiangForIndex(DateTime.Now.AddMonths(-2).Year)%>
                <%=Enterprise.Service.ZJRB.ZJRBService.ZJRB_JinchiForIndex()%>
                <div id="chartContainer2">
                    图表显示
                </div>
            </div>
        </div>
        <img src="styles/_img/area_rightbottom.jpg" width="599" height="22" alt="" />
    </div>
    <div class="indexr_wrapper" style="margin-top: 15px">
        <div class="indexb_wrapper" style="margin-right: 19px">
            <div style="background-image: url(Styles/_img/area_btm01title.jpg); width: 290px;
                height: 73px;">
                <span class="picText2">HSSE专栏</span>
            </div>
            <div class="bottomborder">
                <%= Enterprise.Service.Doc.DocArticleService.GetArticleListForIndex(157,7, this.Language)%>
            </div>
            <a href="/Modules/Doc/Index.aspx?ModuleId=157">
                <img src="styles/_img/area_btm01bottom.jpg" width="290" height="45" border="0" /></a>
        </div>
        <div class="indexb_wrapper">
            <div style="background-image: url(Styles/_img/area_btm02title.jpg); width: 290px;
                height: 73px;">
                <span class="picText2">法律法规</span>
            </div>
            <div class="bottomborder">
                <%= Enterprise.Service.Doc.DocArticleService.GetArticleListForIndex(153,7, this.Language)%>
            </div>
            <a href="/Modules/Doc/Index.aspx?ModuleId=153">
                <img src="styles/_img/area_btm01bottom.jpg" width="290" height="45" border="0" />
            </a>
        </div>
    </div>
</asp:Content>
